﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="DataSet" targetNamespace="http://tempuri.org/DataSet.xsd" xmlns:mstns="http://tempuri.org/DataSet.xsd" xmlns="http://tempuri.org/DataSet.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Web.config" AppSettingsPropertyName="DB04_ConnStr" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="DB04_ConnStr (Web.config)" PropertyReference="AppConfig.System.Configuration.ConfigurationManager.0.ConnectionStrings.DB04_ConnStr.ConnectionString" Provider="System.Data.OleDb" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="vw_1C_Get_ReturnsTableAdapter" GeneratorDataComponentClassName="vw_1C_Get_ReturnsTableAdapter" Name="vw_1C_Get_Returns" UserDataComponentName="vw_1C_Get_ReturnsTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="DB04_ConnStr (Web.config)" DbObjectName="DB_Ex.dbo.vw_1C_Get_Returns" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT DT, Sklad, Kontragent, [Sum] FROM dbo.vw_1C_Get_Returns</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="DT" DataSetColumn="DT" />
              <Mapping SourceColumn="Sklad" DataSetColumn="Sklad" />
              <Mapping SourceColumn="Kontragent" DataSetColumn="Kontragent" />
              <Mapping SourceColumn="Sum" DataSetColumn="Sum" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="DataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="False" msprop:Generator_DataSetName="DataSet" msprop:Generator_UserDSName="DataSet">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="vw_1C_Get_Returns" msprop:Generator_TableClassName="vw_1C_Get_ReturnsDataTable" msprop:Generator_TableVarName="tablevw_1C_Get_Returns" msprop:Generator_TablePropName="vw_1C_Get_Returns" msprop:Generator_RowDeletingName="vw_1C_Get_ReturnsRowDeleting" msprop:Generator_UserTableName="vw_1C_Get_Returns" msprop:Generator_RowChangingName="vw_1C_Get_ReturnsRowChanging" msprop:Generator_RowEvHandlerName="vw_1C_Get_ReturnsRowChangeEventHandler" msprop:Generator_RowDeletedName="vw_1C_Get_ReturnsRowDeleted" msprop:Generator_RowEvArgName="vw_1C_Get_ReturnsRowChangeEvent" msprop:Generator_RowChangedName="vw_1C_Get_ReturnsRowChanged" msprop:Generator_RowClassName="vw_1C_Get_ReturnsRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="DT" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnDT" msprop:Generator_ColumnPropNameInRow="DT" msprop:Generator_ColumnPropNameInTable="DTColumn" msprop:Generator_UserColumnName="DT" type="xs:dateTime" minOccurs="0" />
              <xs:element name="Sklad" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnSklad" msprop:Generator_ColumnPropNameInRow="Sklad" msprop:Generator_ColumnPropNameInTable="SkladColumn" msprop:Generator_UserColumnName="Sklad" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Kontragent" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnKontragent" msprop:Generator_ColumnPropNameInRow="Kontragent" msprop:Generator_ColumnPropNameInTable="KontragentColumn" msprop:Generator_UserColumnName="Kontragent" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Sum" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnSum" msprop:Generator_ColumnPropNameInRow="Sum" msprop:Generator_ColumnPropNameInTable="SumColumn" msprop:Generator_UserColumnName="Sum" type="xs:decimal" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
</xs:schema>